import React, { Component } from 'react'

import './index.css'

export default class index extends Component {
 
render() {
  const { name, price, info } = this.props.item
  return (
    <div className='child'>
    <h3 className='title'>标题：{name}</h3>
    <p className='price'>价格：{price}</p>
    <p className='product'>{info}</p>
  </div>
  )
}
}
